QuickOPC User's Guide and Reference
TypedCallback Property (EasyDAItemSubscriptionArguments<T>)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.Generic Namespace > EasyDAItemSubscriptionArguments<T> Class : TypedCallback Property
A typed callback method to be invoked for each significant monitored item change.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<DefaultValueAttribute("")>
<XmlIgnoreAttribute()>
Public Property TypedCallback As OpcLabs.EasyOpc.DataAccess.Generic.EasyDAItemChangedEventHandler(Of T)
'Usage
 
Dim instance As EasyDAItemSubscriptionArguments(Of T)
Dim value As OpcLabs.EasyOpc.DataAccess.Generic.EasyDAItemChangedEventHandler(Of T)
 
instance.TypedCallback = value
 
value = instance.TypedCallback
[CanBeNull()]
[DefaultValue("")]
[XmlIgnore()]
public OpcLabs.EasyOpc.DataAccess.Generic.EasyDAItemChangedEventHandler<T> TypedCallback {get; set;}
[CanBeNull()]
[DefaultValue("")]
[XmlIgnore()]
public:
property OpcLabs.EasyOpc.DataAccess.Generic.EasyDAItemChangedEventHandler<T^>^ TypedCallback {
   OpcLabs.EasyOpc.DataAccess.Generic.EasyDAItemChangedEventHandler<T^>^ get();
   void set (    OpcLabs.EasyOpc.DataAccess.Generic.EasyDAItemChangedEventHandler<T^>^ value);
}

Property Value

If this is a null reference, only the ItemChanged events are generated, but no callback method is invoked.
Remarks
The property has a different name from the base class in order to satisfy StreamInsight serialization limitations.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also